package com.piece.core.verifycode.factory;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 校验码生成器
 */
public interface ValidateCodeGenerator {

    /**
     * 生成校验码
     */
    ValidateCode generate(HttpServletRequest request, HttpServletResponse response);
}
